#ifndef _IAT_RECORD_H
#define _IAT_RECORD_H
#include <gtk/gtk.h>
#include "service.h"
int iat_login(char* user,char*passed);
void iat_logout();
int iat_main(const char* filename);
void setDBUSService(ShuoXieService *hws);
extern sem_t iat_sem;
extern int upload_on ; /* whether upload the user word 1:up */
extern int aud_src ; /* from mic or file 0:file 1:mic */
extern char* get_iat_result(void);
void set_ui(GtkToggleButton *bt);
void iat_pthread(GtkButton* bt);
int iat_start(void);
void iat_end(void);
#endif
